package com.raptor.trustworthy.task.mapper;

import com.raptor.trustworthy.task.model.ScheduleJob;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

/**
 * 定时任务Mapper
 *
 * @Author renhuan
 * @Date 2021-03-28 13:30
 **/
@Mapper
@Component
public interface ScheduleJobDaoMapper {

   List<ScheduleJob> getScheduleJobList();

   void insertScheduleJob(ScheduleJob scheduleJob);

   void updateScheduleJob(ScheduleJob scheduleJob);

   void deleteScheduleJob(ScheduleJob scheduleJob);

   ScheduleJob getScheduleJobById(ScheduleJob scheduleJob);
}
